package start.aai.service;

import org.springframework.web.multipart.MultipartFile;
import reactor.core.publisher.Flux;
import start.aai.entity.Messages;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 27465
* @description 针对表【messages】的数据库操作Service
* @createDate 2025-07-09 14:49:56
*/
public interface MessagesService extends IService<Messages> {
    Flux<String> chatStream(String text, MultipartFile file,Integer userId);

    List<Messages> getHistory(Integer conversationId);
}
